import App from './App'
import store from './src/store'
Vue.config.productionTip = false

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'

// 引入 uView
import uView from 'uview-ui'
Vue.use(uView)

// 引入自定义导航栏组件
import CustomTabBar from './components/CustomTabBar.vue'
// 注册全局组件
Vue.component('custom-tab-bar', CustomTabBar);

// 创建 Vue 实例并挂载
const app = new Vue({
	store,
  ...App
})


app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif



